import mock from '../index'

// 轮播图
mock.Mock(/(slides)$/, 'get', (options) => {
  return [{
      "id": 1,
      "image": "/mock/img/轮播图1.jpg",
    },
    {
      "id": 2,
      "image": "/mock/img/轮播图2.jpg",
    },
    {
      "id": 3,
      "image": "/mock/img/轮播图3.jpg",

    }
  ]
})

// 分类列表
mock.Mock(/(categories)$/, 'get', () => {
  return [{
      "id": 1,
      "name": "美食",
      "icon": "/mock/img/category/美食.png"
    },
    {
      "id": 2,
      "name": "洗浴足疗",
      "icon": "/mock/img/category/洗浴.png"
    },
    {
      "id": 3,
      "name": "结婚啦",
      "icon": "/mock/img/category/喜爱.png"
    },
    {
      "id": 4,
      "name": "卡拉OK",
      "icon": "/mock/img/category/卡拉OK.png"
    },
    {
      "id": 5,
      "name": "找工作",
      "icon": "/mock/img/category/工作经验.png"
    },
    {
      "id": 6,
      "name": "辅导班",
      "icon": "/mock/img/category/名师辅导.png"
    },
    {
      "id": 7,
      "name": "汽车保养",
      "icon": "/mock/img/category/汽车.png"
    },
    {
      "id": 8,
      "name": "租房",
      "icon": "/mock/img/category/房子.png"
    },
    {
      "id": 9,
      "name": "装修",
      "icon": "/mock/img/category/_建筑装饰、装修和其他建筑业.png"
    }
  ]


})